# coding=utf-8
info = 'helloworld'
# 删除前缀
print(info.removeprefix('hello'))
print(info.removeprefix('abc'))
# 删除后缀
print(info.removesuffix('world'))
print(info.removesuffix('World'))
